package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TransportMsg;
import cn.stylefeng.guns.modular.transport.model.params.TransportMsgParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportMsgResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 运输信息表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2021-08-03
 */
public interface TransportMsgService extends IService<TransportMsg> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2021-08-03
     */
    void add(TransportMsgParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2021-08-03
     */
    void delete(TransportMsgParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2021-08-03
     */
    void update(TransportMsgParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2021-08-03
     */
    TransportMsgResult findBySpec(TransportMsgParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2021-08-03
     */
    List<TransportMsgResult> findListBySpec(TransportMsgParam param,Long operateId);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2021-08-03
     */
     LayuiPageInfo findPageBySpec(TransportMsgParam param,String condition);
     
     LayuiPageInfo finddriverSigninPageBySpec(TransportMsgParam param,String condition,Long operateId);
     
     List<TransportMsgResult> finddriverSigninPageBySpec2(TransportMsgParam param,String condition,Long operateId);

     /**
      * 查询分页数据，Specification模式
      *
      * @author zhucx
      * @Date 2021-08-03
      */
      LayuiPageInfo finddriverSigninListPageBySpec(TransportMsgParam param,Long operateId);

	void deleteBySpec(TransportMsgParam msgParam);

	TransportMsgResult findDcqdBySpec(TransportMsgParam param, Long operateId);

	void updateBySpec(TransportMsgParam msgParam);

	TransportMsgResult findZuixinBySpec(TransportMsgParam msgParam);

	Integer countqiandaocheci(TransportMsgParam msgParam,Long operateId);

    TransportMsgResult findDcqdByNumSpec(TransportMsgParam param);

}
